
Partial Class FirstSample
    Inherits System.Web.UI.Page

    Protected Sub btnCustomize_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnCustomize.Click
        Me.WebPartManager1.DisplayMode = WebPartManager.EditDisplayMode
    End Sub

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        Me.znBookInfo.WebParts(0).Title = "Search by Title"
    End Sub
End Class
